import basicRequestInterceptor from "./https/basic.request.interceptor";
import formidRequestInterceptor from "./https/formid.request.interceptor";
import basicResponseInterceptor from "./https/basic.response.interceptor";

// http基础配置
module.exports = {
  defaults: {
    // baseURL: 'http://127.0.0.1',
    // baseURL: 'http://47.101.32.129:81/index.php?s=/',
    baseURL: 'https://wechat.zanisichu.com/index.php?s=/'
  },
  requestInterceptors: [
    basicRequestInterceptor,
    formidRequestInterceptor
  ],
  responseInterceptors: [
    basicResponseInterceptor
  ]
};